<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/Common Module/load_mv.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_df4e0e4e72f77ab290fd1a24f190250a.html">Common Module</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">load_mv.h</div></div>
</div><!--header-->
<div class="contents">
<a href="load__mv_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#ifndef __LOAD_MV_H__</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">#define __LOAD_MV_H__</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">   41</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>{</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93">   43</a></span>    <a class="code hl_enumvalue" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93">LAYER_1_GUI</a>     = LCD_LAYER_1,</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    <a class="code hl_enumvalue" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a385d7e8b722132d2e22f31b06e30be97">LAYER_2_VIDEO</a>   = LCD_LAYER_2</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a385d7e8b722132d2e22f31b06e30be97">   45</a></span>} <a class="code hl_enumeration" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="keywordtype">int</span> <a class="code hl_function" href="load__mv_8h.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b">mv_task_handler</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#ab03d657977c16952b0a16e589fbd6e71">mv_task_over</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a7dd8d59698dc593d41250fc09a0ae5a5">mv_task_init</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *file_path);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a2877cfdf885996dd8831a2a37660352d">mv_task_pause</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a913dfd46ff07efd13423f77b143fd156">mv_task_resume</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a9cbedc9a40c34ca836f988cc88f5640f">lcd_set_alpha</a>(<a class="code hl_enumeration" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a> lcd_layer, uint8_t alpha);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a6be0f2908cc5e6f47baae4138c8be510">lcd_set_color_key</a>(<a class="code hl_enumeration" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a> lcd_layer, uint8_t color_key_enable, uint32_t rgb);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a26fdaf5976717811bbc2342599b1da4b">video_outset_format</a>(uint8_t format, uint8_t rgb565_dither);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a319fc11a86458ae8f312ba52f686483c">video_set_post</a>(<a class="code hl_enumeration" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a> lcd_layer, uint16_t xs, uint16_t ys);</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#a3ff08970bdf7f8e28122786eac11d6d3">video_set_loop</a>(<span class="keyword">const</span> uint32_t times, <span class="keyword">const</span> uint32_t max);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#abe5464036c09e633ce1a409d40e11164">video_get_loop</a>(uint32_t *times, uint32_t *max);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span><span class="keywordtype">void</span> <a class="code hl_function" href="load__mv_8h.html#ab3b1a7d6c03074968fcdfa784fe8fe14">video_center_with_tp</a>(uint16_t x, uint16_t y);</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="preprocessor">#endif </span><span class="comment">//__LOAD_MV_H__</span></div>
<div class="ttc" id="aload__mv_8h_html_a26fdaf5976717811bbc2342599b1da4b"><div class="ttname"><a href="load__mv_8h.html#a26fdaf5976717811bbc2342599b1da4b">video_outset_format</a></div><div class="ttdeci">void video_outset_format(uint8_t format, uint8_t rgb565_dither)</div><div class="ttdoc">设置视频解码输出格式</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00381">load_mv.c:381</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a2877cfdf885996dd8831a2a37660352d"><div class="ttname"><a href="load__mv_8h.html#a2877cfdf885996dd8831a2a37660352d">mv_task_pause</a></div><div class="ttdeci">void mv_task_pause(void)</div><div class="ttdoc">暂停播放</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00292">load_mv.c:292</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a319fc11a86458ae8f312ba52f686483c"><div class="ttname"><a href="load__mv_8h.html#a319fc11a86458ae8f312ba52f686483c">video_set_post</a></div><div class="ttdeci">void video_set_post(lcd_layer_t lcd_layer, uint16_t xs, uint16_t ys)</div><div class="ttdoc">设置视频播放显示区域</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00395">load_mv.c:395</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a3ff08970bdf7f8e28122786eac11d6d3"><div class="ttname"><a href="load__mv_8h.html#a3ff08970bdf7f8e28122786eac11d6d3">video_set_loop</a></div><div class="ttdeci">void video_set_loop(const uint32_t times, const uint32_t max)</div><div class="ttdoc">设置视频循环播放次数</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00431">load_mv.c:431</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a4baf0d2c0d6e1fea0ddb9867c9747f8b"><div class="ttname"><a href="load__mv_8h.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b">mv_task_handler</a></div><div class="ttdeci">int mv_task_handler(void)</div><div class="ttdoc">音视频任务处理</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00211">load_mv.c:211</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a6be0f2908cc5e6f47baae4138c8be510"><div class="ttname"><a href="load__mv_8h.html#a6be0f2908cc5e6f47baae4138c8be510">lcd_set_color_key</a></div><div class="ttdeci">void lcd_set_color_key(lcd_layer_t lcd_layer, uint8_t color_key_enable, uint32_t rgb)</div><div class="ttdoc">设置图层色键控</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00351">load_mv.c:351</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a7dd8d59698dc593d41250fc09a0ae5a5"><div class="ttname"><a href="load__mv_8h.html#a7dd8d59698dc593d41250fc09a0ae5a5">mv_task_init</a></div><div class="ttdeci">void mv_task_init(const char *file_path)</div><div class="ttdoc">打开源文件启动播放</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00260">load_mv.c:260</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a913dfd46ff07efd13423f77b143fd156"><div class="ttname"><a href="load__mv_8h.html#a913dfd46ff07efd13423f77b143fd156">mv_task_resume</a></div><div class="ttdeci">void mv_task_resume(void)</div><div class="ttdoc">恢复播放</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00308">load_mv.c:308</a></div></div>
<div class="ttc" id="aload__mv_8h_html_a9cbedc9a40c34ca836f988cc88f5640f"><div class="ttname"><a href="load__mv_8h.html#a9cbedc9a40c34ca836f988cc88f5640f">lcd_set_alpha</a></div><div class="ttdeci">void lcd_set_alpha(lcd_layer_t lcd_layer, uint8_t alpha)</div><div class="ttdoc">设置图层透明度</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00335">load_mv.c:335</a></div></div>
<div class="ttc" id="aload__mv_8h_html_ab03d657977c16952b0a16e589fbd6e71"><div class="ttname"><a href="load__mv_8h.html#ab03d657977c16952b0a16e589fbd6e71">mv_task_over</a></div><div class="ttdeci">void mv_task_over(void)</div><div class="ttdoc">结束播放, 释放所占用的资源</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00224">load_mv.c:224</a></div></div>
<div class="ttc" id="aload__mv_8h_html_ab3b1a7d6c03074968fcdfa784fe8fe14"><div class="ttname"><a href="load__mv_8h.html#ab3b1a7d6c03074968fcdfa784fe8fe14">video_center_with_tp</a></div><div class="ttdeci">void video_center_with_tp(uint16_t x, uint16_t y)</div><div class="ttdoc">视频中心跟随触摸移动</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00458">load_mv.c:458</a></div></div>
<div class="ttc" id="aload__mv_8h_html_ab9806189ae8983878b4853db01912f47"><div class="ttname"><a href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a></div><div class="ttdeci">lcd_layer_t</div><div class="ttdoc">显示图层枚举(详见 swm341_lcd.h)</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8h_source.html#l00041">load_mv.h:42</a></div></div>
<div class="ttc" id="aload__mv_8h_html_ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93"><div class="ttname"><a href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93">LAYER_1_GUI</a></div><div class="ttdeci">@ LAYER_1_GUI</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8h_source.html#l00043">load_mv.h:43</a></div></div>
<div class="ttc" id="aload__mv_8h_html_ab9806189ae8983878b4853db01912f47a385d7e8b722132d2e22f31b06e30be97"><div class="ttname"><a href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a385d7e8b722132d2e22f31b06e30be97">LAYER_2_VIDEO</a></div><div class="ttdeci">@ LAYER_2_VIDEO</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8h_source.html#l00045">load_mv.h:44</a></div></div>
<div class="ttc" id="aload__mv_8h_html_abe5464036c09e633ce1a409d40e11164"><div class="ttname"><a href="load__mv_8h.html#abe5464036c09e633ce1a409d40e11164">video_get_loop</a></div><div class="ttdeci">void video_get_loop(uint32_t *times, uint32_t *max)</div><div class="ttdoc">获取视频循环播放次数</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00442">load_mv.c:442</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
